﻿using Android.App;
using Android.OS;

using Outcoder;

using Xamarin.Forms.Platform.Android;

namespace CalciumTemplateApp
{
	[Activity(Label = "Calcium Example", MainLauncher = true, 
		ConfigurationChanges = Android.Content.PM.ConfigChanges.Orientation 
		| Android.Content.PM.ConfigChanges.ScreenSize)]
	public class MainActivity : AndroidActivity
	{
		protected override void OnCreate(Bundle bundle)
		{
			base.OnCreate(bundle);

			Xamarin.Forms.Forms.Init(this, bundle);

			SetPage(App.GetMainPage());

			Dependency.Register<Activity>(this);
		}
	}
}

